#!/bin/bash -e

rm -rf ./dl-assets/
mkdir -p ./dl-assets/
pushd ./dl-assets/
wget https://github.com/Stabyourself/mari0/archive/refs/tags/1.6.2.tar.gz
tar xvf 1.6.2.tar.gz
pushd mari0-1.6.2/
zip -r mari0.love *
popd
popd
dpkg-buildpackage -us -uc
lintian ../mari0_1.6.2~spark3_all.deb
